import brownie

tartget_address = [
    "0xFBef33e09081236cC4A1f8D2C175E9fEf6Aa2DFa",
    "0x431e3Da4C2f47ebf8B953d07cDA01e43CC932d3F",
    "0x9EcefC6bFeB5d482c0aD5b63FbE5AEBFc175D5C3",
    "0x921913f5707bBf6DF6cE55d20A47678b0aEd8cD8",
    "0x3a5f44EE6C908a6D22F58979510329E4c340D3DE",
    "0xc180Aeb70cf544fE2a61C63c95384E2449Ff5631",
    "0xa1c07723A9D0C55AF4265670c153D36CEfDA812A",
    "0xE642696D242A2eA681a41Ace3CA9C5bf8808f9A6",
    "0x33de02503a08623e4C0d9B09DF78358AaD3b15de",
    "0x48FfF35975Ad6e1bd350D63a8c2E5a6679c48725",
]

# 这是 naturelab geth私链的默认账户私钥
# 参见 [eth_nodes 部署结果](http://gitlab.wpsdt.com/defi/chain/eth_nodes/blob/master/%E9%83%A8%E7%BD%B2%E7%BB%93%E6%9E%9C.md)
# userAddress = "0xac9199717985cDaC98e5832370B208B8a33A50Ef"
# userMnemonic = "day hamster faint soup alley yard flight hello beyond valid human wheat"
# userPrivateKey =  "0x0b4e7160e4b5b5681648357c293c305308b2cbb160a80a44ce8825158312d778"

userPrivateKey = "0x0b4e7160e4b5b5681648357c293c305308b2cbb160a80a44ce8825158312d778"

# 先清除已有的账户
accounts.clear()
accounts.add(userPrivateKey)


# 从默认账户往目标地址转账
for index in range(len(tartget_address)):
    account = accounts[0]
    address = tartget_address[index]
    account.transfer(address, "50 ether")

for account in accounts:
    print(account.balance)